package com.yitao.client.dto.cashCoupons;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author: wwl
 * @Date: 2020/3/10 14:11
 * @Description:
 */
public class CashCouponsCrossDto extends BaseDto {
    /**
     * id 主键
     */
    @ApiModelProperty("id 主键")
    private Long id;


    /**
     * 现金券关联类型：1:用户，2:商品
     */
    @ApiModelProperty("现金券关联类型：1:商品")
    private Integer crossType;


    /**
     * 现金券id
     */
    @ApiModelProperty("现金券id")
    private Long couponsId;


    /**
     * 关联id(商品id或用户id)
     */
    @ApiModelProperty("关联id(商品id)")
    private Long crossId;


    /**
     * 排序值
     */
    @ApiModelProperty("排序值")
    private Integer sort;


    /**
     * 是否删除(0:启用 1:禁用)
     */
    @ApiModelProperty("是否删除(0:启用 1:禁用)")
    private Boolean deleteStatus;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCrossType() {
        return crossType;
    }

    public void setCrossType(Integer crossType) {
        this.crossType = crossType;
    }

    public Long getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Long couponsId) {
        this.couponsId = couponsId;
    }

    public Long getCrossId() {
        return crossId;
    }

    public void setCrossId(Long crossId) {
        this.crossId = crossId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Boolean deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
